﻿namespace HRM.CORE.REPORT
{
    using DevExpress.Utils;
    using DevExpress.XtraPrinting;
    using DevExpress.XtraReports.UI;
    using HRM.CORE;
    
    
    using System; using Extra.ERP;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Drawing.Printing;

    public class rptSalary1 : XtraReport
    {
        private BottomMarginBand BottomMargin;
        private IContainer components;
        private DetailBand Detail;
        private XRLabel dtDate;
        private HRM_SALARY l_Salary;
        private XRLabel lbAllowanceName1;
        private XRLabel lbAllowanceName2;
        private XRLabel lbAllowanceName3;
        private XRLabel lbAllowanceName4;
        private string m_Code;
        private string m_EmployeeCode;
        private int m_Level;
        private int m_Month;
        private int m_Year;
        private PageFooterBand PageFooter;
        private XRPictureBox ptEmployeePhoto;
        private XRPictureBox ptPhoto;
        private TopMarginBand TopMargin;
        private XRLabel txtAbsent;
        private XRLabel txtAddress;
        private XRLabel txtAdvance;
        private XRLabel txtAllowance;
        private XRLabel txtAllowance1;
        private XRLabel txtAllowance2;
        private XRLabel txtAllowance3;
        private XRLabel txtAllowance4;
        private XRLabel txtAllowanceNameEN;
        private XRLabel txtAllowanceNameVN;
        private XRLabel txtAssignment;
        private XRLabel txtBankCode;
        private XRLabel txtBasicSalary;
        private XRLabel txtCompany;
        private XRLabel txtDepartment;
        private XRLabel txtEmployeeCode;
        private XRLabel txtEmployeeName;
        private XRLabel txtFurloughDay;
        private XRLabel txtHealthInsurance;
        private XRLabel txtIncomeTaxMoney;
        private XRLabel txtOtherIncomes;
        private XRLabel txtOvertime150;
        private XRLabel txtOvertime200;
        private XRLabel txtOvertime300;
        private XRLabel txtPosition;
        private XRLabel txtRealDay;
        private XRLabel txtRegulationDay;
        private XRLabel txtSalary;
        private XRLabel txtSalaryPlus;
        private XRLabel txtSocialInsurance;
        private XRLabel txtTotalSalary;
        private XRLabel txtTotalSalaryMinus;
        private XRLabel txtUnemploymentInsurance;
        private XRLabel txtUnion;
        private XRLabel txtWorkSalary;
        private XRLabel xrLabel1;
        private XRLabel xrLabel10;
        private XRLabel xrLabel11;
        private XRLabel xrLabel12;
        private XRLabel xrLabel13;
        private XRLabel xrLabel14;
        private XRLabel xrLabel15;
        private XRLabel xrLabel16;
        private XRLabel xrLabel2;
        private XRLabel xrLabel25;
        private XRLabel xrLabel27;
        private XRLabel xrLabel3;
        private XRLabel xrLabel4;
        private XRLabel xrLabel43;
        private XRLabel xrLabel44;
        private XRLabel xrLabel45;
        private XRLabel xrLabel46;
        private XRLabel xrLabel5;
        private XRLabel xrLabel55;
        private XRLabel xrLabel56;
        private XRLabel xrLabel59;
        private XRLabel xrLabel60;
        private XRLabel xrLabel61;
        private XRLabel xrLabel62;
        private XRLabel xrLabel63;
        private XRLabel xrLabel64;
        private XRLabel xrLabel65;
        private XRLabel xrLabel66;
        private XRLabel xrLabel67;
        private XRLabel xrLabel68;
        private XRLabel xrLabel69;
        private XRLabel xrLabel7;
        private XRLabel xrLabel70;
        private XRLabel xrLabel71;
        private XRLabel xrLabel72;
        private XRLabel xrLabel73;
        private XRLabel xrLabel74;
        private XRLabel xrLabel76;
        private XRLabel xrLabel77;
        private XRLabel xrLabel78;
        private XRLabel xrLabel79;
        private XRLabel xrLabel8;
        private XRLabel xrLabel80;
        private XRLabel xrLabel81;
        private XRLabel xrLabel82;
        private XRLabel xrLabel83;
        private XRLabel xrLabel84;
        private XRLabel xrLabel85;
        private XRLabel xrLabel86;
        private XRLabel xrLabel88;
        private XRLabel xrLabel89;
        private XRLabel xrLabel9;
        private XRLabel xrLabel91;
        private XRLabel xrLabel92;
        private XRTable xrTable3;
        private XRTableCell xrTableCell10;
        private XRTableCell xrTableCell11;
        private XRTableCell xrTableCell12;
        private XRTableCell xrTableCell7;
        private XRTableCell xrTableCell8;
        private XRTableCell xrTableCell9;
        private XRTableRow xrTableRow3;
        private XRTableRow xrTableRow4;

        public rptSalary1()
        {
            this.components = null;
            this.l_Salary = new HRM_SALARY();
            this.m_Level = 0;
            this.m_Code = "";
            this.m_Month = 0;
            this.m_Year = 0;
            this.m_EmployeeCode = "";
            this.InitializeComponent();
        }

        public rptSalary1(int Month, int Year, string EmployeeCode)
        {
            this.components = null;
            this.l_Salary = new HRM_SALARY();
            this.m_Level = 0;
            this.m_Code = "";
            this.m_Month = 0;
            this.m_Year = 0;
            this.m_EmployeeCode = "";
            this.InitializeComponent();
            this.m_Month = Month;
            this.m_Year = Year;
            this.m_EmployeeCode = EmployeeCode;
        }

        public rptSalary1(int Level, string Code, int Month, int Year)
        {
            this.components = null;
            this.l_Salary = new HRM_SALARY();
            this.m_Level = 0;
            this.m_Code = "";
            this.m_Month = 0;
            this.m_Year = 0;
            this.m_EmployeeCode = "";
            this.InitializeComponent();
            this.m_Level = Level;
            this.m_Code = Code;
            this.m_Month = Month;
            this.m_Year = Year;
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void dtBirthday_BeforePrint(object sender, PrintEventArgs e)
        {
        }

        private void InitializeComponent()
        {
            this.Detail = new DetailBand();
            this.txtSalary = new XRLabel();
            this.txtIncomeTaxMoney = new XRLabel();
            this.txtUnion = new XRLabel();
            this.txtUnemploymentInsurance = new XRLabel();
            this.txtHealthInsurance = new XRLabel();
            this.txtSocialInsurance = new XRLabel();
            this.txtTotalSalaryMinus = new XRLabel();
            this.txtAbsent = new XRLabel();
            this.txtFurloughDay = new XRLabel();
            this.txtTotalSalary = new XRLabel();
            this.txtAdvance = new XRLabel();
            this.txtSalaryPlus = new XRLabel();
            this.txtOvertime300 = new XRLabel();
            this.txtOvertime200 = new XRLabel();
            this.txtOvertime150 = new XRLabel();
            this.txtOtherIncomes = new XRLabel();
            this.txtRealDay = new XRLabel();
            this.txtRegulationDay = new XRLabel();
            this.txtAssignment = new XRLabel();
            this.txtAllowance = new XRLabel();
            this.txtBasicSalary = new XRLabel();
            this.txtWorkSalary = new XRLabel();
            this.xrLabel92 = new XRLabel();
            this.xrLabel91 = new XRLabel();
            this.xrLabel89 = new XRLabel();
            this.xrLabel88 = new XRLabel();
            this.xrLabel86 = new XRLabel();
            this.xrLabel85 = new XRLabel();
            this.xrLabel84 = new XRLabel();
            this.xrLabel83 = new XRLabel();
            this.xrLabel82 = new XRLabel();
            this.xrLabel81 = new XRLabel();
            this.xrLabel80 = new XRLabel();
            this.xrLabel79 = new XRLabel();
            this.xrLabel78 = new XRLabel();
            this.xrLabel77 = new XRLabel();
            this.xrLabel76 = new XRLabel();
            this.xrLabel74 = new XRLabel();
            this.xrLabel73 = new XRLabel();
            this.xrLabel72 = new XRLabel();
            this.xrLabel71 = new XRLabel();
            this.xrLabel70 = new XRLabel();
            this.xrLabel69 = new XRLabel();
            this.xrLabel68 = new XRLabel();
            this.xrLabel67 = new XRLabel();
            this.xrLabel66 = new XRLabel();
            this.xrLabel65 = new XRLabel();
            this.xrLabel64 = new XRLabel();
            this.xrLabel63 = new XRLabel();
            this.xrLabel62 = new XRLabel();
            this.xrLabel61 = new XRLabel();
            this.xrLabel60 = new XRLabel();
            this.xrLabel59 = new XRLabel();
            this.xrLabel56 = new XRLabel();
            this.xrLabel55 = new XRLabel();
            this.txtAllowanceNameVN = new XRLabel();
            this.txtAllowanceNameEN = new XRLabel();
            this.xrLabel46 = new XRLabel();
            this.xrLabel45 = new XRLabel();
            this.xrLabel44 = new XRLabel();
            this.xrLabel43 = new XRLabel();
            this.xrLabel16 = new XRLabel();
            this.xrLabel15 = new XRLabel();
            this.xrLabel13 = new XRLabel();
            this.xrLabel12 = new XRLabel();
            this.xrLabel11 = new XRLabel();
            this.xrLabel10 = new XRLabel();
            this.xrLabel9 = new XRLabel();
            this.xrLabel8 = new XRLabel();
            this.xrLabel7 = new XRLabel();
            this.txtBankCode = new XRLabel();
            this.xrLabel5 = new XRLabel();
            this.xrLabel1 = new XRLabel();
            this.dtDate = new XRLabel();
            this.xrLabel25 = new XRLabel();
            this.txtDepartment = new XRLabel();
            this.txtPosition = new XRLabel();
            this.xrLabel27 = new XRLabel();
            this.xrLabel3 = new XRLabel();
            this.txtEmployeeName = new XRLabel();
            this.txtEmployeeCode = new XRLabel();
            this.txtCompany = new XRLabel();
            this.xrLabel2 = new XRLabel();
            this.txtAddress = new XRLabel();
            this.ptPhoto = new XRPictureBox();
            this.xrLabel4 = new XRLabel();
            this.xrTable3 = new XRTable();
            this.xrTableRow3 = new XRTableRow();
            this.xrTableCell7 = new XRTableCell();
            this.xrTableCell8 = new XRTableCell();
            this.xrTableCell9 = new XRTableCell();
            this.xrTableRow4 = new XRTableRow();
            this.xrTableCell10 = new XRTableCell();
            this.xrTableCell11 = new XRTableCell();
            this.xrTableCell12 = new XRTableCell();
            this.ptEmployeePhoto = new XRPictureBox();
            this.xrLabel14 = new XRLabel();
            this.TopMargin = new TopMarginBand();
            this.BottomMargin = new BottomMarginBand();
            this.PageFooter = new PageFooterBand();
            this.lbAllowanceName1 = new XRLabel();
            this.txtAllowance1 = new XRLabel();
            this.lbAllowanceName2 = new XRLabel();
            this.txtAllowance2 = new XRLabel();
            this.txtAllowance3 = new XRLabel();
            this.lbAllowanceName3 = new XRLabel();
            this.txtAllowance4 = new XRLabel();
            this.lbAllowanceName4 = new XRLabel();
            this.xrTable3.BeginInit();
            this.BeginInit();
            this.Detail.Controls.AddRange(new XRControl[] { 
                this.lbAllowanceName4, this.txtAllowance4, this.lbAllowanceName3, this.txtAllowance3, this.txtAllowance2, this.lbAllowanceName2, this.txtAllowance1, this.lbAllowanceName1, this.txtSalary, this.txtIncomeTaxMoney, this.txtUnion, this.txtUnemploymentInsurance, this.txtHealthInsurance, this.txtSocialInsurance, this.txtTotalSalaryMinus, this.txtAbsent, 
                this.txtFurloughDay, this.txtTotalSalary, this.txtAdvance, this.txtSalaryPlus, this.txtOvertime300, this.txtOvertime200, this.txtOvertime150, this.txtOtherIncomes, this.txtRealDay, this.txtRegulationDay, this.txtAssignment, this.txtAllowance, this.txtBasicSalary, this.txtWorkSalary, this.xrLabel92, this.xrLabel91, 
                this.xrLabel89, this.xrLabel88, this.xrLabel86, this.xrLabel85, this.xrLabel84, this.xrLabel83, this.xrLabel82, this.xrLabel81, this.xrLabel80, this.xrLabel79, this.xrLabel78, this.xrLabel77, this.xrLabel76, this.xrLabel74, this.xrLabel73, this.xrLabel72, 
                this.xrLabel71, this.xrLabel70, this.xrLabel69, this.xrLabel68, this.xrLabel67, this.xrLabel66, this.xrLabel65, this.xrLabel64, this.xrLabel63, this.xrLabel62, this.xrLabel61, this.xrLabel60, this.xrLabel59, this.xrLabel56, this.xrLabel55, this.txtAllowanceNameVN, 
                this.txtAllowanceNameEN, this.xrLabel46, this.xrLabel45, this.xrLabel44, this.xrLabel43, this.xrLabel16, this.xrLabel15, this.xrLabel13, this.xrLabel12, this.xrLabel11, this.xrLabel10, this.xrLabel9, this.xrLabel8, this.xrLabel7, this.txtBankCode, this.xrLabel5, 
                this.xrLabel1, this.dtDate, this.xrLabel25, this.txtDepartment, this.txtPosition, this.xrLabel27, this.xrLabel3, this.txtEmployeeName, this.txtEmployeeCode, this.txtCompany, this.xrLabel2, this.txtAddress, this.ptPhoto, this.xrLabel4, this.xrTable3, this.ptEmployeePhoto, 
                this.xrLabel14
             });
            this.Detail.HeightF = 745f;
            this.Detail.Name = "Detail";
            this.Detail.Padding = new PaddingInfo(0, 0, 0, 0, 100f);
            this.Detail.TextAlignment = TextAlignment.TopLeft;
            this.txtSalary.Font = new Font("Times New Roman", 14f, FontStyle.Bold);
            this.txtSalary.LocationFloat = new PointFloat(226.1257f, 496.75f);
            this.txtSalary.Name = "txtSalary";
            this.txtSalary.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtSalary.SizeF = new SizeF(313.5412f, 28.12494f);
            this.txtSalary.StylePriority.UseFont = false;
            this.txtSalary.StylePriority.UseTextAlignment = false;
            this.txtSalary.Text = "txtSalary";
            this.txtSalary.TextAlignment = TextAlignment.TopLeft;
            this.txtIncomeTaxMoney.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.txtIncomeTaxMoney.LocationFloat = new PointFloat(989.9998f, 438.25f);
            this.txtIncomeTaxMoney.Name = "txtIncomeTaxMoney";
            this.txtIncomeTaxMoney.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtIncomeTaxMoney.SizeF = new SizeF(100f, 17.70833f);
            this.txtIncomeTaxMoney.StylePriority.UseFont = false;
            this.txtIncomeTaxMoney.StylePriority.UseTextAlignment = false;
            this.txtIncomeTaxMoney.Text = "txtIncomeTaxMoney";
            this.txtIncomeTaxMoney.TextAlignment = TextAlignment.TopRight;
            this.txtUnion.LocationFloat = new PointFloat(990f, 409.0833f);
            this.txtUnion.Name = "txtUnion";
            this.txtUnion.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtUnion.SizeF = new SizeF(100f, 17.70833f);
            this.txtUnion.StylePriority.UseTextAlignment = false;
            this.txtUnion.Text = "txtUnion";
            this.txtUnion.TextAlignment = TextAlignment.TopRight;
            this.txtUnemploymentInsurance.LocationFloat = new PointFloat(989.9998f, 379.9167f);
            this.txtUnemploymentInsurance.Name = "txtUnemploymentInsurance";
            this.txtUnemploymentInsurance.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtUnemploymentInsurance.SizeF = new SizeF(100f, 17.70833f);
            this.txtUnemploymentInsurance.StylePriority.UseTextAlignment = false;
            this.txtUnemploymentInsurance.Text = "txtUnemploymentInsurance";
            this.txtUnemploymentInsurance.TextAlignment = TextAlignment.TopRight;
            this.txtHealthInsurance.LocationFloat = new PointFloat(989.9998f, 349.5833f);
            this.txtHealthInsurance.Name = "txtHealthInsurance";
            this.txtHealthInsurance.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtHealthInsurance.SizeF = new SizeF(100f, 17.70833f);
            this.txtHealthInsurance.StylePriority.UseTextAlignment = false;
            this.txtHealthInsurance.Text = "txtHealthInsurance";
            this.txtHealthInsurance.TextAlignment = TextAlignment.TopRight;
            this.txtSocialInsurance.LocationFloat = new PointFloat(989.9998f, 319.375f);
            this.txtSocialInsurance.Name = "txtSocialInsurance";
            this.txtSocialInsurance.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtSocialInsurance.SizeF = new SizeF(100f, 17.70833f);
            this.txtSocialInsurance.StylePriority.UseTextAlignment = false;
            this.txtSocialInsurance.Text = "txtSocialInsurance";
            this.txtSocialInsurance.TextAlignment = TextAlignment.TopRight;
            this.txtTotalSalaryMinus.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.txtTotalSalaryMinus.LocationFloat = new PointFloat(990f, 291.25f);
            this.txtTotalSalaryMinus.Name = "txtTotalSalaryMinus";
            this.txtTotalSalaryMinus.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtTotalSalaryMinus.SizeF = new SizeF(100f, 17.70833f);
            this.txtTotalSalaryMinus.StylePriority.UseFont = false;
            this.txtTotalSalaryMinus.StylePriority.UseTextAlignment = false;
            this.txtTotalSalaryMinus.Text = "txtTotalSalaryMinus";
            this.txtTotalSalaryMinus.TextAlignment = TextAlignment.TopRight;
            this.txtAbsent.LocationFloat = new PointFloat(989.9998f, 221.875f);
            this.txtAbsent.Name = "txtAbsent";
            this.txtAbsent.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtAbsent.SizeF = new SizeF(100f, 17.70833f);
            this.txtAbsent.StylePriority.UseTextAlignment = false;
            this.txtAbsent.Text = "txtAbsent";
            this.txtAbsent.TextAlignment = TextAlignment.TopRight;
            this.txtFurloughDay.LocationFloat = new PointFloat(990f, 251.0417f);
            this.txtFurloughDay.Name = "txtFurloughDay";
            this.txtFurloughDay.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtFurloughDay.SizeF = new SizeF(100f, 17.70833f);
            this.txtFurloughDay.StylePriority.UseTextAlignment = false;
            this.txtFurloughDay.Text = "xrLabel18";
            this.txtFurloughDay.TextAlignment = TextAlignment.TopRight;
            this.txtTotalSalary.LocationFloat = new PointFloat(623.6667f, 469.5833f);
            this.txtTotalSalary.Name = "txtTotalSalary";
            this.txtTotalSalary.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtTotalSalary.SizeF = new SizeF(100f, 17.70833f);
            this.txtTotalSalary.StylePriority.UseTextAlignment = false;
            this.txtTotalSalary.Text = "txtTotalSalary";
            this.txtTotalSalary.TextAlignment = TextAlignment.TopRight;
            this.txtAdvance.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.txtAdvance.LocationFloat = new PointFloat(623.6667f, 438.25f);
            this.txtAdvance.Name = "txtAdvance";
            this.txtAdvance.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtAdvance.SizeF = new SizeF(100f, 17.70833f);
            this.txtAdvance.StylePriority.UseFont = false;
            this.txtAdvance.StylePriority.UseTextAlignment = false;
            this.txtAdvance.Text = "txtAdvance";
            this.txtAdvance.TextAlignment = TextAlignment.TopRight;
            this.txtSalaryPlus.LocationFloat = new PointFloat(622.6251f, 409.0834f);
            this.txtSalaryPlus.Name = "txtSalaryPlus";
            this.txtSalaryPlus.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtSalaryPlus.SizeF = new SizeF(100f, 17.70833f);
            this.txtSalaryPlus.StylePriority.UseTextAlignment = false;
            this.txtSalaryPlus.Text = "txtSalaryPlus";
            this.txtSalaryPlus.TextAlignment = TextAlignment.TopRight;
            this.txtOvertime300.LocationFloat = new PointFloat(622.6251f, 379.9166f);
            this.txtOvertime300.Name = "txtOvertime300";
            this.txtOvertime300.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtOvertime300.SizeF = new SizeF(100f, 17.70833f);
            this.txtOvertime300.StylePriority.UseTextAlignment = false;
            this.txtOvertime300.Text = "txtOvertime300";
            this.txtOvertime300.TextAlignment = TextAlignment.TopRight;
            this.txtOvertime200.LocationFloat = new PointFloat(623.6667f, 349.5833f);
            this.txtOvertime200.Name = "txtOvertime200";
            this.txtOvertime200.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtOvertime200.SizeF = new SizeF(100f, 17.70833f);
            this.txtOvertime200.StylePriority.UseTextAlignment = false;
            this.txtOvertime200.Text = "txtOvertime200";
            this.txtOvertime200.TextAlignment = TextAlignment.TopRight;
            this.txtOvertime150.LocationFloat = new PointFloat(623.6667f, 319.375f);
            this.txtOvertime150.Name = "txtOvertime150";
            this.txtOvertime150.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtOvertime150.SizeF = new SizeF(100f, 17.70833f);
            this.txtOvertime150.StylePriority.UseTextAlignment = false;
            this.txtOvertime150.Text = "txtOvertime150";
            this.txtOvertime150.TextAlignment = TextAlignment.TopRight;
            this.txtOtherIncomes.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.txtOtherIncomes.LocationFloat = new PointFloat(623.6666f, 291.25f);
            this.txtOtherIncomes.Name = "txtOtherIncomes";
            this.txtOtherIncomes.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtOtherIncomes.SizeF = new SizeF(100f, 17.70833f);
            this.txtOtherIncomes.StylePriority.UseFont = false;
            this.txtOtherIncomes.StylePriority.UseTextAlignment = false;
            this.txtOtherIncomes.Text = "txtOtherIncomes";
            this.txtOtherIncomes.TextAlignment = TextAlignment.TopRight;
            this.txtRealDay.Font = new Font("Times New Roman", 9.75f);
            this.txtRealDay.LocationFloat = new PointFloat(622.6251f, 221.875f);
            this.txtRealDay.Name = "txtRealDay";
            this.txtRealDay.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtRealDay.SizeF = new SizeF(100f, 17.70833f);
            this.txtRealDay.StylePriority.UseFont = false;
            this.txtRealDay.StylePriority.UseTextAlignment = false;
            this.txtRealDay.Text = "txtRealDay";
            this.txtRealDay.TextAlignment = TextAlignment.TopRight;
            this.txtRegulationDay.LocationFloat = new PointFloat(623.6667f, 251.0416f);
            this.txtRegulationDay.Name = "txtRegulationDay";
            this.txtRegulationDay.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtRegulationDay.SizeF = new SizeF(100f, 17.70833f);
            this.txtRegulationDay.StylePriority.UseTextAlignment = false;
            this.txtRegulationDay.Text = "txtRegulationDay";
            this.txtRegulationDay.TextAlignment = TextAlignment.TopRight;
            this.txtAssignment.LocationFloat = new PointFloat(223.6257f, 438.25f);
            this.txtAssignment.Name = "txtAssignment";
            this.txtAssignment.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtAssignment.SizeF = new SizeF(100f, 17.70833f);
            this.txtAssignment.StylePriority.UseTextAlignment = false;
            this.txtAssignment.Text = "txtAssignment";
            this.txtAssignment.TextAlignment = TextAlignment.TopRight;
            this.txtAllowance.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.txtAllowance.LocationFloat = new PointFloat(223.6257f, 291.25f);
            this.txtAllowance.Name = "txtAllowance";
            this.txtAllowance.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtAllowance.SizeF = new SizeF(100f, 17.70833f);
            this.txtAllowance.StylePriority.UseFont = false;
            this.txtAllowance.StylePriority.UseTextAlignment = false;
            this.txtAllowance.Text = "txtAllowance";
            this.txtAllowance.TextAlignment = TextAlignment.TopRight;
            this.txtBasicSalary.LocationFloat = new PointFloat(223.6258f, 221.875f);
            this.txtBasicSalary.Name = "txtBasicSalary";
            this.txtBasicSalary.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtBasicSalary.SizeF = new SizeF(100f, 17.70833f);
            this.txtBasicSalary.StylePriority.UseTextAlignment = false;
            this.txtBasicSalary.Text = "txtBasicSalary";
            this.txtBasicSalary.TextAlignment = TextAlignment.TopRight;
            this.txtWorkSalary.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.txtWorkSalary.LocationFloat = new PointFloat(223.6257f, 251.0417f);
            this.txtWorkSalary.Name = "txtWorkSalary";
            this.txtWorkSalary.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtWorkSalary.SizeF = new SizeF(100f, 17.70833f);
            this.txtWorkSalary.StylePriority.UseFont = false;
            this.txtWorkSalary.StylePriority.UseTextAlignment = false;
            this.txtWorkSalary.Text = "txtWorkSalary";
            this.txtWorkSalary.TextAlignment = TextAlignment.TopRight;
            this.xrLabel92.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic | FontStyle.Bold);
            this.xrLabel92.LocationFloat = new PointFloat(90.5f, 500.75f);
            this.xrLabel92.Name = "xrLabel92";
            this.xrLabel92.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel92.SizeF = new SizeF(102.5003f, 17.70834f);
            this.xrLabel92.StylePriority.UseFont = false;
            this.xrLabel92.Text = "/ RECEIVABLE:";
            this.xrLabel91.Font = new Font("Times New Roman", 9.25f, FontStyle.Bold);
            this.xrLabel91.LocationFloat = new PointFloat(2.999997f, 500.75f);
            this.xrLabel91.Name = "xrLabel91";
            this.xrLabel91.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel91.SizeF = new SizeF(86.04211f, 17.70834f);
            this.xrLabel91.StylePriority.UseFont = false;
            this.xrLabel91.Text = "THỰC L\x00c3NH";
            this.xrLabel89.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic);
            this.xrLabel89.LocationFloat = new PointFloat(437.1666f, 469.5833f);
            this.xrLabel89.Name = "xrLabel89";
            this.xrLabel89.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel89.SizeF = new SizeF(102.5003f, 17.70834f);
            this.xrLabel89.StylePriority.UseFont = false;
            this.xrLabel89.Text = "/ SALARY:";
            this.xrLabel88.Font = new Font("Times New Roman", 9.25f);
            this.xrLabel88.LocationFloat = new PointFloat(384.4578f, 469.5834f);
            this.xrLabel88.Name = "xrLabel88";
            this.xrLabel88.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel88.SizeF = new SizeF(52.70877f, 17.70831f);
            this.xrLabel88.StylePriority.UseFont = false;
            this.xrLabel88.Text = "LƯƠNG";
            this.xrLabel86.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic | FontStyle.Bold);
            this.xrLabel86.LocationFloat = new PointFloat(866.4994f, 438.25f);
            this.xrLabel86.Name = "xrLabel86";
            this.xrLabel86.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel86.SizeF = new SizeF(93.50024f, 17.70834f);
            this.xrLabel86.StylePriority.UseFont = false;
            this.xrLabel86.Text = "/ PITS:";
            this.xrLabel85.Font = new Font("Times New Roman", 9.25f, FontStyle.Bold);
            this.xrLabel85.LocationFloat = new PointFloat(779.4994f, 438.25f);
            this.xrLabel85.Name = "xrLabel85";
            this.xrLabel85.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel85.SizeF = new SizeF(87f, 17.70834f);
            this.xrLabel85.StylePriority.UseFont = false;
            this.xrLabel85.Text = "THUẾ TNCN";
            this.xrLabel84.Font = new Font("Times New Roman", 9.25f);
            this.xrLabel84.LocationFloat = new PointFloat(779.4993f, 409.0833f);
            this.xrLabel84.Name = "xrLabel84";
            this.xrLabel84.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel84.SizeF = new SizeF(94.66663f, 17.70834f);
            this.xrLabel84.StylePriority.UseFont = false;
            this.xrLabel84.Text = "C\x00d4NG ĐO\x00c0N";
            this.xrLabel83.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic);
            this.xrLabel83.LocationFloat = new PointFloat(874.166f, 409.0833f);
            this.xrLabel83.Name = "xrLabel83";
            this.xrLabel83.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel83.SizeF = new SizeF(85.83368f, 17.70834f);
            this.xrLabel83.StylePriority.UseFont = false;
            this.xrLabel83.Text = "/ UNION:";
            this.xrLabel82.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic);
            this.xrLabel82.LocationFloat = new PointFloat(828.3326f, 379.9167f);
            this.xrLabel82.Name = "xrLabel82";
            this.xrLabel82.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel82.SizeF = new SizeF(102.5003f, 17.70834f);
            this.xrLabel82.StylePriority.UseFont = false;
            this.xrLabel82.Text = "/ JOB-LESS:";
            this.xrLabel81.Font = new Font("Times New Roman", 9.25f);
            this.xrLabel81.LocationFloat = new PointFloat(779.4994f, 379.9166f);
            this.xrLabel81.Name = "xrLabel81";
            this.xrLabel81.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel81.SizeF = new SizeF(48.83325f, 17.70837f);
            this.xrLabel81.StylePriority.UseFont = false;
            this.xrLabel81.Text = "BHTN";
            this.xrLabel80.Font = new Font("Times New Roman", 9.25f);
            this.xrLabel80.LocationFloat = new PointFloat(779.4993f, 349.5833f);
            this.xrLabel80.Name = "xrLabel80";
            this.xrLabel80.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel80.SizeF = new SizeF(48.83331f, 17.70831f);
            this.xrLabel80.StylePriority.UseFont = false;
            this.xrLabel80.Text = "BHYT";
            this.xrLabel79.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic);
            this.xrLabel79.LocationFloat = new PointFloat(828.3326f, 349.5833f);
            this.xrLabel79.Name = "xrLabel79";
            this.xrLabel79.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel79.SizeF = new SizeF(102.5003f, 17.70834f);
            this.xrLabel79.StylePriority.UseFont = false;
            this.xrLabel79.Text = "/ INSURANCE:";
            this.xrLabel78.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic);
            this.xrLabel78.LocationFloat = new PointFloat(828.3326f, 319.375f);
            this.xrLabel78.Name = "xrLabel78";
            this.xrLabel78.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel78.SizeF = new SizeF(102.5003f, 17.70834f);
            this.xrLabel78.StylePriority.UseFont = false;
            this.xrLabel78.Text = "/ SOCIAL:";
            this.xrLabel77.Font = new Font("Times New Roman", 9.25f);
            this.xrLabel77.LocationFloat = new PointFloat(779.4993f, 319.375f);
            this.xrLabel77.Name = "xrLabel77";
            this.xrLabel77.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel77.SizeF = new SizeF(48.83331f, 17.70834f);
            this.xrLabel77.StylePriority.UseFont = false;
            this.xrLabel77.Text = "BHXH";
            this.xrLabel76.Font = new Font("Times New Roman", 9.25f, FontStyle.Bold);
            this.xrLabel76.LocationFloat = new PointFloat(779.4993f, 291.25f);
            this.xrLabel76.Name = "xrLabel76";
            this.xrLabel76.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel76.SizeF = new SizeF(180.5002f, 17.70834f);
            this.xrLabel76.StylePriority.UseFont = false;
            this.xrLabel76.Text = "CHI TIẾT GIẢM TRỪ:";
            this.xrLabel74.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic);
            this.xrLabel74.LocationFloat = new PointFloat(858.541f, 251.0416f);
            this.xrLabel74.Name = "xrLabel74";
            this.xrLabel74.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel74.SizeF = new SizeF(102.5003f, 17.70834f);
            this.xrLabel74.StylePriority.UseFont = false;
            this.xrLabel74.Text = "/ DAY-OFF:";
            this.xrLabel73.Font = new Font("Times New Roman", 9.25f);
            this.xrLabel73.LocationFloat = new PointFloat(780.541f, 251.0416f);
            this.xrLabel73.Name = "xrLabel73";
            this.xrLabel73.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel73.SizeF = new SizeF(78f, 17.70834f);
            this.xrLabel73.StylePriority.UseFont = false;
            this.xrLabel73.Text = "NG\x00c0Y PH\x00c9P";
            this.xrLabel72.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic | FontStyle.Bold);
            this.xrLabel72.LocationFloat = new PointFloat(459.0417f, 438.25f);
            this.xrLabel72.Name = "xrLabel72";
            this.xrLabel72.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel72.SizeF = new SizeF(102.5003f, 17.70834f);
            this.xrLabel72.StylePriority.UseFont = false;
            this.xrLabel72.Text = "/ ADVANCES:";
            this.xrLabel71.Font = new Font("Times New Roman", 9.25f, FontStyle.Bold);
            this.xrLabel71.LocationFloat = new PointFloat(384.4578f, 438.25f);
            this.xrLabel71.Name = "xrLabel71";
            this.xrLabel71.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel71.SizeF = new SizeF(74.58389f, 17.70834f);
            this.xrLabel71.StylePriority.UseFont = false;
            this.xrLabel71.Text = "TẠM ỨNG";
            this.xrLabel70.Font = new Font("Times New Roman", 9.25f);
            this.xrLabel70.LocationFloat = new PointFloat(384.4579f, 409.0833f);
            this.xrLabel70.Name = "xrLabel70";
            this.xrLabel70.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel70.SizeF = new SizeF(130.209f, 17.70834f);
            this.xrLabel70.StylePriority.UseFont = false;
            this.xrLabel70.Text = "KH\x00c1C (THƯỞNG,...)";
            this.xrLabel69.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic);
            this.xrLabel69.LocationFloat = new PointFloat(517.0417f, 409.0833f);
            this.xrLabel69.Name = "xrLabel69";
            this.xrLabel69.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel69.SizeF = new SizeF(73.50031f, 17.70834f);
            this.xrLabel69.StylePriority.UseFont = false;
            this.xrLabel69.Text = "/ BONUS:";
            this.xrLabel68.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic);
            this.xrLabel68.LocationFloat = new PointFloat(412.1666f, 379.9167f);
            this.xrLabel68.Name = "xrLabel68";
            this.xrLabel68.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel68.SizeF = new SizeF(102.5003f, 17.70834f);
            this.xrLabel68.StylePriority.UseFont = false;
            this.xrLabel68.Text = "/ HOLIDAY:";
            this.xrLabel67.Font = new Font("Times New Roman", 9.25f);
            this.xrLabel67.LocationFloat = new PointFloat(384.4578f, 379.9166f);
            this.xrLabel67.Name = "xrLabel67";
            this.xrLabel67.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel67.SizeF = new SizeF(27.70877f, 17.70837f);
            this.xrLabel67.StylePriority.UseFont = false;
            this.xrLabel67.Text = "LỄ";
            this.xrLabel66.Font = new Font("Times New Roman", 9.25f);
            this.xrLabel66.LocationFloat = new PointFloat(384.4579f, 349.5833f);
            this.xrLabel66.Name = "xrLabel66";
            this.xrLabel66.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel66.SizeF = new SizeF(102.5415f, 17.70831f);
            this.xrLabel66.StylePriority.UseFont = false;
            this.xrLabel66.Text = "T7 & CHỦ NHẬT";
            this.xrLabel65.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic);
            this.xrLabel65.LocationFloat = new PointFloat(488.0417f, 349.5833f);
            this.xrLabel65.Name = "xrLabel65";
            this.xrLabel65.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel65.SizeF = new SizeF(102.5003f, 17.70834f);
            this.xrLabel65.StylePriority.UseFont = false;
            this.xrLabel65.Text = "/ SPECIAL:";
            this.xrLabel64.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic);
            this.xrLabel64.LocationFloat = new PointFloat(470.5f, 319.375f);
            this.xrLabel64.Name = "xrLabel64";
            this.xrLabel64.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel64.SizeF = new SizeF(102.5003f, 17.70834f);
            this.xrLabel64.StylePriority.UseFont = false;
            this.xrLabel64.Text = "/ OVER-TIME:";
            this.xrLabel63.Font = new Font("Times New Roman", 9.25f);
            this.xrLabel63.LocationFloat = new PointFloat(384.4579f, 319.375f);
            this.xrLabel63.Name = "xrLabel63";
            this.xrLabel63.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel63.SizeF = new SizeF(86.04211f, 17.70834f);
            this.xrLabel63.StylePriority.UseFont = false;
            this.xrLabel63.Text = "NGO\x00c0I GIỜ";
            this.xrLabel62.Font = new Font("Times New Roman", 9.25f, FontStyle.Bold);
            this.xrLabel62.LocationFloat = new PointFloat(384.4578f, 291.25f);
            this.xrLabel62.Name = "xrLabel62";
            this.xrLabel62.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel62.SizeF = new SizeF(114f, 17.70834f);
            this.xrLabel62.StylePriority.UseFont = false;
            this.xrLabel62.Text = "THU NHẬP KH\x00c1C";
            this.xrLabel61.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic | FontStyle.Bold);
            this.xrLabel61.LocationFloat = new PointFloat(498.4578f, 291.25f);
            this.xrLabel61.Name = "xrLabel61";
            this.xrLabel61.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel61.SizeF = new SizeF(125f, 17.70834f);
            this.xrLabel61.StylePriority.UseFont = false;
            this.xrLabel61.StylePriority.UseTextAlignment = false;
            this.xrLabel61.Text = "/ OTHER INCOMES:";
            this.xrLabel61.TextAlignment = TextAlignment.TopLeft;
            this.xrLabel60.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic);
            this.xrLabel60.LocationFloat = new PointFloat(459.0417f, 251.0416f);
            this.xrLabel60.Name = "xrLabel60";
            this.xrLabel60.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel60.SizeF = new SizeF(102.5003f, 17.70834f);
            this.xrLabel60.StylePriority.UseFont = false;
            this.xrLabel60.Text = "/ ON-LEAVE:";
            this.xrLabel59.Font = new Font("Times New Roman", 9.25f);
            this.xrLabel59.LocationFloat = new PointFloat(384.4579f, 251.0416f);
            this.xrLabel59.Name = "xrLabel59";
            this.xrLabel59.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel59.SizeF = new SizeF(74.5838f, 17.70836f);
            this.xrLabel59.StylePriority.UseFont = false;
            this.xrLabel59.Text = "NGHỈ PH\x00c9P";
            this.xrLabel56.Font = new Font("Times New Roman", 9.25f);
            this.xrLabel56.LocationFloat = new PointFloat(2.374999f, 438.25f);
            this.xrLabel56.Name = "xrLabel56";
            this.xrLabel56.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel56.SizeF = new SizeF(81.54166f, 17.70834f);
            this.xrLabel56.StylePriority.UseFont = false;
            this.xrLabel56.Text = "C\x00d4NG T\x00c1C";
            this.xrLabel55.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic);
            this.xrLabel55.LocationFloat = new PointFloat(83.91666f, 438.25f);
            this.xrLabel55.Name = "xrLabel55";
            this.xrLabel55.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel55.SizeF = new SizeF(124.709f, 17.70834f);
            this.xrLabel55.StylePriority.UseFont = false;
            this.xrLabel55.Text = "/ BUSSINESS-TRIP:";
            this.txtAllowanceNameVN.Font = new Font("Times New Roman", 9.25f, FontStyle.Bold);
            this.txtAllowanceNameVN.LocationFloat = new PointFloat(2.374983f, 291.25f);
            this.txtAllowanceNameVN.Name = "txtAllowanceNameVN";
            this.txtAllowanceNameVN.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtAllowanceNameVN.SizeF = new SizeF(62.08377f, 17.70834f);
            this.txtAllowanceNameVN.StylePriority.UseFont = false;
            this.txtAllowanceNameVN.Text = "PHỤ CẤP";
            this.txtAllowanceNameEN.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic | FontStyle.Bold);
            this.txtAllowanceNameEN.LocationFloat = new PointFloat(64.45877f, 291.25f);
            this.txtAllowanceNameEN.Name = "txtAllowanceNameEN";
            this.txtAllowanceNameEN.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtAllowanceNameEN.SizeF = new SizeF(157.6665f, 17.70834f);
            this.txtAllowanceNameEN.StylePriority.UseFont = false;
            this.txtAllowanceNameEN.Text = "/ ALLOWANCES (S&A):";
            this.xrLabel46.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic | FontStyle.Bold);
            this.xrLabel46.LocationFloat = new PointFloat(138.375f, 251.0416f);
            this.xrLabel46.Name = "xrLabel46";
            this.xrLabel46.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel46.SizeF = new SizeF(83.75027f, 17.70836f);
            this.xrLabel46.StylePriority.UseFont = false;
            this.xrLabel46.Text = "/ ACTUAL:";
            this.xrLabel45.Font = new Font("Times New Roman", 9.25f, FontStyle.Bold);
            this.xrLabel45.LocationFloat = new PointFloat(2.374999f, 251.0416f);
            this.xrLabel45.Name = "xrLabel45";
            this.xrLabel45.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel45.SizeF = new SizeF(136f, 17.70836f);
            this.xrLabel45.StylePriority.UseFont = false;
            this.xrLabel45.Text = "LƯƠNG THEO C\x00d4NG";
            this.xrLabel44.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic);
            this.xrLabel44.LocationFloat = new PointFloat(857.4993f, 221.875f);
            this.xrLabel44.Name = "xrLabel44";
            this.xrLabel44.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel44.SizeF = new SizeF(102.5003f, 17.70834f);
            this.xrLabel44.StylePriority.UseFont = false;
            this.xrLabel44.Text = "/ LEAVES:";
            this.xrLabel43.Font = new Font("Times New Roman", 9.25f);
            this.xrLabel43.LocationFloat = new PointFloat(779.4993f, 221.875f);
            this.xrLabel43.Name = "xrLabel43";
            this.xrLabel43.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel43.SizeF = new SizeF(78f, 17.70834f);
            this.xrLabel43.StylePriority.UseFont = false;
            this.xrLabel43.Text = "NGHỈ KH\x00c1C";
            this.xrLabel16.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic);
            this.xrLabel16.LocationFloat = new PointFloat(470.5f, 221.875f);
            this.xrLabel16.Name = "xrLabel16";
            this.xrLabel16.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel16.SizeF = new SizeF(102.5003f, 17.70834f);
            this.xrLabel16.StylePriority.UseFont = false;
            this.xrLabel16.Text = "/ ATTENDANCE:";
            this.xrLabel15.Font = new Font("Times New Roman", 9.25f);
            this.xrLabel15.LocationFloat = new PointFloat(384.4579f, 221.875f);
            this.xrLabel15.Name = "xrLabel15";
            this.xrLabel15.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel15.SizeF = new SizeF(86.04211f, 17.70834f);
            this.xrLabel15.StylePriority.UseFont = false;
            this.xrLabel15.Text = "NG\x00c0Y C\x00d4NG";
            this.xrLabel13.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic);
            this.xrLabel13.LocationFloat = new PointFloat(106.1254f, 221.875f);
            this.xrLabel13.Name = "xrLabel13";
            this.xrLabel13.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel13.SizeF = new SizeF(102.5003f, 17.70834f);
            this.xrLabel13.StylePriority.UseFont = false;
            this.xrLabel13.Text = "/ BASIC SALARY:";
            this.xrLabel12.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic);
            this.xrLabel12.LocationFloat = new PointFloat(608.0419f, 170.75f);
            this.xrLabel12.Name = "xrLabel12";
            this.xrLabel12.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel12.SizeF = new SizeF(78.50055f, 17.70834f);
            this.xrLabel12.StylePriority.UseFont = false;
            this.xrLabel12.Text = "/ ACCOUNT:";
            this.xrLabel11.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic);
            this.xrLabel11.LocationFloat = new PointFloat(594.5002f, 144f);
            this.xrLabel11.Name = "xrLabel11";
            this.xrLabel11.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel11.SizeF = new SizeF(92.04224f, 17.70834f);
            this.xrLabel11.StylePriority.UseFont = false;
            this.xrLabel11.Text = "/ POSITION:";
            this.xrLabel10.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic);
            this.xrLabel10.LocationFloat = new PointFloat(599.542f, 113.5001f);
            this.xrLabel10.Name = "xrLabel10";
            this.xrLabel10.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel10.SizeF = new SizeF(87.00046f, 17.70835f);
            this.xrLabel10.StylePriority.UseFont = false;
            this.xrLabel10.Text = "/ FULLNAME:";
            this.xrLabel9.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic);
            this.xrLabel9.LocationFloat = new PointFloat(173.6669f, 144f);
            this.xrLabel9.Name = "xrLabel9";
            this.xrLabel9.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel9.SizeF = new SizeF(102.5003f, 17.70834f);
            this.xrLabel9.StylePriority.UseFont = false;
            this.xrLabel9.Text = "/ DEPARTMENT:";
            this.xrLabel8.Font = new Font("Times New Roman", 9.25f, FontStyle.Italic);
            this.xrLabel8.LocationFloat = new PointFloat(192.5838f, 113.5f);
            this.xrLabel8.Name = "xrLabel8";
            this.xrLabel8.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel8.SizeF = new SizeF(102.5003f, 17.70834f);
            this.xrLabel8.StylePriority.UseFont = false;
            this.xrLabel8.Text = "/ EMPLOYEE ID:";
            this.xrLabel7.Font = new Font("Times New Roman", 9.25f);
            this.xrLabel7.LocationFloat = new PointFloat(2.374999f, 221.875f);
            this.xrLabel7.Name = "xrLabel7";
            this.xrLabel7.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel7.SizeF = new SizeF(103.7504f, 17.70834f);
            this.xrLabel7.StylePriority.UseFont = false;
            this.xrLabel7.Text = "LƯƠNG CƠ BẢN";
            this.txtBankCode.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.txtBankCode.LocationFloat = new PointFloat(715.2083f, 170.75f);
            this.txtBankCode.Name = "txtBankCode";
            this.txtBankCode.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtBankCode.SizeF = new SizeF(374.7916f, 17.70833f);
            this.txtBankCode.StylePriority.UseFont = false;
            this.xrLabel5.Font = new Font("Times New Roman", 9.25f);
            this.xrLabel5.LocationFloat = new PointFloat(526.9583f, 170.75f);
            this.xrLabel5.Name = "xrLabel5";
            this.xrLabel5.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel5.SizeF = new SizeF(81.08368f, 17.70831f);
            this.xrLabel5.StylePriority.UseFont = false;
            this.xrLabel5.Text = "T\x00c0I KHOẢN";
            this.xrLabel1.Font = new Font("Times New Roman", 9.25f);
            this.xrLabel1.LocationFloat = new PointFloat(91.7915f, 113.5f);
            this.xrLabel1.Name = "xrLabel1";
            this.xrLabel1.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel1.SizeF = new SizeF(100.7923f, 17.70834f);
            this.xrLabel1.StylePriority.UseFont = false;
            this.xrLabel1.Text = "M\x00c3 NH\x00c2N VI\x00caN";
            this.dtDate.Font = new Font("Times New Roman", 11.25f, FontStyle.Bold);
            this.dtDate.LocationFloat = new PointFloat(944.1667f, 10.00001f);
            this.dtDate.Name = "dtDate";
            this.dtDate.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.dtDate.SizeF = new SizeF(145.8333f, 17.70833f);
            this.dtDate.StylePriority.UseFont = false;
            this.dtDate.StylePriority.UseTextAlignment = false;
            this.dtDate.Text = "TH\x00c1NG 00/0000";
            this.dtDate.TextAlignment = TextAlignment.MiddleRight;
            this.xrLabel25.Font = new Font("Times New Roman", 9.25f);
            this.xrLabel25.LocationFloat = new PointFloat(92.37455f, 144f);
            this.xrLabel25.Name = "xrLabel25";
            this.xrLabel25.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel25.SizeF = new SizeF(81.29234f, 17.70831f);
            this.xrLabel25.StylePriority.UseFont = false;
            this.xrLabel25.Text = "PH\x00d2NG BAN";
            this.txtDepartment.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.txtDepartment.LocationFloat = new PointFloat(300.1255f, 144f);
            this.txtDepartment.Name = "txtDepartment";
            this.txtDepartment.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtDepartment.SizeF = new SizeF(226.8325f, 17.70834f);
            this.txtDepartment.StylePriority.UseFont = false;
            this.txtPosition.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.txtPosition.LocationFloat = new PointFloat(715.2084f, 144.0001f);
            this.txtPosition.Name = "txtPosition";
            this.txtPosition.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtPosition.SizeF = new SizeF(374.7916f, 17.70833f);
            this.txtPosition.StylePriority.UseFont = false;
            this.xrLabel27.Font = new Font("Times New Roman", 9.25f);
            this.xrLabel27.LocationFloat = new PointFloat(526.9581f, 144.0001f);
            this.xrLabel27.Name = "xrLabel27";
            this.xrLabel27.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel27.SizeF = new SizeF(67.5419f, 17.70831f);
            this.xrLabel27.StylePriority.UseFont = false;
            this.xrLabel27.Text = "CHỨC VỤ";
            this.xrLabel3.Font = new Font("Times New Roman", 9.25f);
            this.xrLabel3.LocationFloat = new PointFloat(526.9581f, 113.5001f);
            this.xrLabel3.Name = "xrLabel3";
            this.xrLabel3.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel3.SizeF = new SizeF(72.5838f, 17.70834f);
            this.xrLabel3.StylePriority.UseFont = false;
            this.xrLabel3.Text = "HỌ V\x00c0 T\x00caN";
            this.txtEmployeeName.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.txtEmployeeName.LocationFloat = new PointFloat(715.2084f, 113.5001f);
            this.txtEmployeeName.Name = "txtEmployeeName";
            this.txtEmployeeName.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtEmployeeName.SizeF = new SizeF(374.7915f, 17.70834f);
            this.txtEmployeeName.StylePriority.UseFont = false;
            this.txtEmployeeCode.BorderColor = Color.Black;
            this.txtEmployeeCode.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.txtEmployeeCode.LocationFloat = new PointFloat(319.0424f, 113.5f);
            this.txtEmployeeCode.Name = "txtEmployeeCode";
            this.txtEmployeeCode.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtEmployeeCode.SizeF = new SizeF(207.9157f, 17.70834f);
            this.txtEmployeeCode.StylePriority.UseBorderColor = false;
            this.txtEmployeeCode.StylePriority.UseFont = false;
            this.txtEmployeeCode.StylePriority.UseTextAlignment = false;
            this.txtEmployeeCode.TextAlignment = TextAlignment.TopLeft;
            this.txtEmployeeCode.BeforePrint += new PrintEventHandler(this.txtEmployeeCode_BeforePrint);
            this.txtCompany.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.txtCompany.LocationFloat = new PointFloat(95.16665f, 10.00001f);
            this.txtCompany.Name = "txtCompany";
            this.txtCompany.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtCompany.SizeF = new SizeF(500.5418f, 17.70833f);
            this.txtCompany.StylePriority.UseFont = false;
            this.txtCompany.Text = "txtCompany";
            this.xrLabel2.LocationFloat = new PointFloat(93.91676f, 31.70827f);
            this.xrLabel2.Name = "xrLabel2";
            this.xrLabel2.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel2.SizeF = new SizeF(51.95789f, 17.70834f);
            this.xrLabel2.Text = "Địa chỉ:";
            this.txtAddress.LocationFloat = new PointFloat(146.8749f, 31.70837f);
            this.txtAddress.Name = "txtAddress";
            this.txtAddress.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtAddress.SizeF = new SizeF(448.8335f, 17.70833f);
            this.txtAddress.Text = "txtAddress";
            this.ptPhoto.LocationFloat = new PointFloat(2.375f, 4.999987f);
            this.ptPhoto.Name = "ptPhoto";
            this.ptPhoto.SizeF = new SizeF(88.54166f, 58.33333f);
            this.ptPhoto.Sizing = ImageSizeMode.ZoomImage;
            this.xrLabel4.Font = new Font("Times New Roman", 16f, FontStyle.Bold);
            this.xrLabel4.LocationFloat = new PointFloat(0.3750006f, 69.54164f);
            this.xrLabel4.Name = "xrLabel4";
            this.xrLabel4.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel4.SizeF = new SizeF(1089.625f, 30.25002f);
            this.xrLabel4.StylePriority.UseFont = false;
            this.xrLabel4.StylePriority.UseTextAlignment = false;
            this.xrLabel4.Text = "BẢNG T\x00cdNH CHI TIẾT LƯƠNG / PAYROLL SLIP";
            this.xrLabel4.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTable3.LocationFloat = new PointFloat(0f, 541.8749f);
            this.xrTable3.Name = "xrTable3";
            this.xrTable3.Rows.AddRange(new XRTableRow[] { this.xrTableRow3, this.xrTableRow4 });
            this.xrTable3.SizeF = new SizeF(1090f, 62.5f);
            this.xrTableRow3.Cells.AddRange(new XRTableCell[] { this.xrTableCell7, this.xrTableCell8, this.xrTableCell9 });
            this.xrTableRow3.Name = "xrTableRow3";
            this.xrTableRow3.Weight = 1.0;
            this.xrTableCell7.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrTableCell7.Name = "xrTableCell7";
            this.xrTableCell7.StylePriority.UseFont = false;
            this.xrTableCell7.StylePriority.UseTextAlignment = false;
            this.xrTableCell7.Text = "NGƯỜI LẬP / PREPARED BY";
            this.xrTableCell7.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableCell7.Weight = 1.0;
            this.xrTableCell8.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrTableCell8.Name = "xrTableCell8";
            this.xrTableCell8.StylePriority.UseFont = false;
            this.xrTableCell8.StylePriority.UseTextAlignment = false;
            this.xrTableCell8.Text = "NGƯỜI DUYỆT / APPROVED BY";
            this.xrTableCell8.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableCell8.Weight = 1.0;
            this.xrTableCell9.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrTableCell9.Name = "xrTableCell9";
            this.xrTableCell9.StylePriority.UseFont = false;
            this.xrTableCell9.StylePriority.UseTextAlignment = false;
            this.xrTableCell9.Text = "NGƯỜI DUYỆT / APPROVED BY";
            this.xrTableCell9.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableCell9.Weight = 1.0;
            this.xrTableRow4.Cells.AddRange(new XRTableCell[] { this.xrTableCell10, this.xrTableCell11, this.xrTableCell12 });
            this.xrTableRow4.Name = "xrTableRow4";
            this.xrTableRow4.Weight = 1.0;
            this.xrTableCell10.Font = new Font("Times New Roman", 9.75f, FontStyle.Italic);
            this.xrTableCell10.Name = "xrTableCell10";
            this.xrTableCell10.StylePriority.UseFont = false;
            this.xrTableCell10.StylePriority.UseTextAlignment = false;
            this.xrTableCell10.Text = "TP.HCNS / ADMIN & HR-MANAGER";
            this.xrTableCell10.TextAlignment = TextAlignment.TopCenter;
            this.xrTableCell10.Weight = 1.0;
            this.xrTableCell11.Font = new Font("Times New Roman", 9.75f, FontStyle.Italic);
            this.xrTableCell11.Name = "xrTableCell11";
            this.xrTableCell11.StylePriority.UseFont = false;
            this.xrTableCell11.StylePriority.UseTextAlignment = false;
            this.xrTableCell11.Text = "KẾ TO\x00c1N / ACCOUNTING";
            this.xrTableCell11.TextAlignment = TextAlignment.TopCenter;
            this.xrTableCell11.Weight = 1.0;
            this.xrTableCell12.Font = new Font("Times New Roman", 9.75f, FontStyle.Italic);
            this.xrTableCell12.Name = "xrTableCell12";
            this.xrTableCell12.StylePriority.UseFont = false;
            this.xrTableCell12.StylePriority.UseTextAlignment = false;
            this.xrTableCell12.Text = "GI\x00c1M ĐỐC / MANAGING DIRECTOR";
            this.xrTableCell12.TextAlignment = TextAlignment.TopCenter;
            this.xrTableCell12.Weight = 1.0;
            this.ptEmployeePhoto.BorderColor = Color.Gainsboro;
            this.ptEmployeePhoto.Borders = BorderSide.All;
            this.ptEmployeePhoto.LocationFloat = new PointFloat(2.999998f, 113.5f);
            this.ptEmployeePhoto.Name = "ptEmployeePhoto";
            this.ptEmployeePhoto.SizeF = new SizeF(80.91666f, 74.95832f);
            this.ptEmployeePhoto.Sizing = ImageSizeMode.ZoomImage;
            this.ptEmployeePhoto.StylePriority.UseBorderColor = false;
            this.ptEmployeePhoto.StylePriority.UseBorders = false;
            this.ptEmployeePhoto.BeforePrint += new PrintEventHandler(this.ptEmployeePhoto_BeforePrint);
            this.xrLabel14.ForeColor = Color.Silver;
            this.xrLabel14.LocationFloat = new PointFloat(2.999998f, 144f);
            this.xrLabel14.Name = "xrLabel14";
            this.xrLabel14.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel14.SizeF = new SizeF(80.91666f, 17.70833f);
            this.xrLabel14.StylePriority.UseForeColor = false;
            this.xrLabel14.StylePriority.UseTextAlignment = false;
            this.xrLabel14.Text = "Ảnh";
            this.xrLabel14.TextAlignment = TextAlignment.MiddleCenter;
            this.TopMargin.HeightF = 20f;
            this.TopMargin.Name = "TopMargin";
            this.TopMargin.Padding = new PaddingInfo(0, 0, 0, 0, 100f);
            this.TopMargin.TextAlignment = TextAlignment.TopLeft;
            this.BottomMargin.HeightF = 20f;
            this.BottomMargin.Name = "BottomMargin";
            this.BottomMargin.Padding = new PaddingInfo(0, 0, 0, 0, 100f);
            this.BottomMargin.TextAlignment = TextAlignment.TopLeft;
            this.PageFooter.HeightF = 0f;
            this.PageFooter.Name = "PageFooter";
            this.lbAllowanceName1.Font = new Font("Times New Roman", 9.25f);
            this.lbAllowanceName1.LocationFloat = new PointFloat(2.999997f, 319.375f);
            this.lbAllowanceName1.Name = "lbAllowanceName1";
            this.lbAllowanceName1.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.lbAllowanceName1.SizeF = new SizeF(219.1253f, 17.70834f);
            this.lbAllowanceName1.StylePriority.UseFont = false;
            this.txtAllowance1.LocationFloat = new PointFloat(223.6257f, 319.375f);
            this.txtAllowance1.Name = "txtAllowance1";
            this.txtAllowance1.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtAllowance1.SizeF = new SizeF(100f, 17.70833f);
            this.txtAllowance1.StylePriority.UseTextAlignment = false;
            this.txtAllowance1.TextAlignment = TextAlignment.TopRight;
            this.lbAllowanceName2.Font = new Font("Times New Roman", 9.25f);
            this.lbAllowanceName2.LocationFloat = new PointFloat(2.999997f, 349.5833f);
            this.lbAllowanceName2.Name = "lbAllowanceName2";
            this.lbAllowanceName2.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.lbAllowanceName2.SizeF = new SizeF(219.1253f, 17.70831f);
            this.lbAllowanceName2.StylePriority.UseFont = false;
            this.txtAllowance2.LocationFloat = new PointFloat(223.6257f, 349.5834f);
            this.txtAllowance2.Name = "txtAllowance2";
            this.txtAllowance2.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtAllowance2.SizeF = new SizeF(100f, 17.70833f);
            this.txtAllowance2.StylePriority.UseTextAlignment = false;
            this.txtAllowance2.TextAlignment = TextAlignment.TopRight;
            this.txtAllowance3.LocationFloat = new PointFloat(223.6258f, 379.9166f);
            this.txtAllowance3.Name = "txtAllowance3";
            this.txtAllowance3.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtAllowance3.SizeF = new SizeF(100f, 17.70833f);
            this.txtAllowance3.StylePriority.UseTextAlignment = false;
            this.txtAllowance3.TextAlignment = TextAlignment.TopRight;
            this.lbAllowanceName3.Font = new Font("Times New Roman", 9.25f);
            this.lbAllowanceName3.LocationFloat = new PointFloat(2.999997f, 379.9165f);
            this.lbAllowanceName3.Name = "lbAllowanceName3";
            this.lbAllowanceName3.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.lbAllowanceName3.SizeF = new SizeF(219.1254f, 17.70834f);
            this.lbAllowanceName3.StylePriority.UseFont = false;
            this.txtAllowance4.LocationFloat = new PointFloat(223.6257f, 409.0834f);
            this.txtAllowance4.Name = "txtAllowance4";
            this.txtAllowance4.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtAllowance4.SizeF = new SizeF(100f, 17.70833f);
            this.txtAllowance4.StylePriority.UseTextAlignment = false;
            this.txtAllowance4.TextAlignment = TextAlignment.TopRight;
            this.lbAllowanceName4.Font = new Font("Times New Roman", 9.25f);
            this.lbAllowanceName4.LocationFloat = new PointFloat(2.999997f, 409.0833f);
            this.lbAllowanceName4.Name = "lbAllowanceName4";
            this.lbAllowanceName4.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.lbAllowanceName4.SizeF = new SizeF(219.1253f, 17.70834f);
            this.lbAllowanceName4.StylePriority.UseFont = false;
            base.Bands.AddRange(new Band[] { this.Detail, this.TopMargin, this.BottomMargin, this.PageFooter });
            base.Landscape = true;
            base.Margins = new Margins(40, 0x27, 20, 20);
            base.PageHeight = 0x33b;
            base.PageWidth = 0x491;
            base.PaperKind = PaperKind.A4;
            base.Version = "9.3";
            this.BeforePrint += new PrintEventHandler(this.rptListEmployee_BeforePrint);
            this.xrTable3.EndInit();
            this.EndInit();
        }

        private void LoadAllData()
        {
            HRM_SALARY_TABLELIST hrm_salary_tablelist = new HRM_SALARY_TABLELIST();
            hrm_salary_tablelist.Get(this.m_Month, this.m_Year);
            DataSet set = new DataSet();
            DataTable table = new DataTable();
            table = this.l_Salary.GetList(this.m_Level, this.m_Code, hrm_salary_tablelist.SalaryTableListID);
            set.Tables.Add(table);
            base.DataSource = set;
            this.txtEmployeeCode.DataBindings.Add("Text", base.DataSource, "EmployeeCode");
        }

        private void LoadData()
        {
            this.txtEmployeeCode.Text = this.m_EmployeeCode;
        }

        private void ptEmployeePhoto_BeforePrint(object sender, PrintEventArgs e)
        {
            HRM_EMPLOYEE hrm_employee = new HRM_EMPLOYEE();
            hrm_employee.Get(this.txtEmployeeCode.Text);
            this.ptEmployeePhoto.Image = hrm_employee.Photo;
        }

        private void rptListEmployee_BeforePrint(object sender, PrintEventArgs e)
        {
            this.dtDate.Text = "TH\x00c1NG " + this.m_Month.ToString() + "/" + this.m_Year.ToString();
            if (this.m_EmployeeCode == "")
            {
                this.LoadAllData();
            }
            else
            {
                this.LoadData();
            }
            //if (MyInfo.Get(MyEncryption.Encrypt("ERP01", "123654", true)) == "OK")
            {
                this.txtCompany.Text = "";//MyInfo.Company.ToUpper();
                this.txtAddress.Text = "";//MyInfo.Address;
                this.ptPhoto.Image = null;//MyInfo.Photo;
            }
        }

        private void txtEmployeeCode_BeforePrint(object sender, PrintEventArgs e)
        {
            HRM_EMPLOYEE hrm_employee = new HRM_EMPLOYEE();
            hrm_employee.Get(this.txtEmployeeCode.Text);
            this.txtEmployeeName.Text = hrm_employee.FirstName.ToUpper() + " " + hrm_employee.LastName.ToUpper();
            this.txtDepartment.Text = hrm_employee.DepartmentName.ToUpper();
            this.txtPosition.Text = hrm_employee.Position.ToUpper();
            this.txtBankCode.Text = hrm_employee.BankCode;
            HRM_SALARY_TABLELIST hrm_salary_tablelist = new HRM_SALARY_TABLELIST();
            hrm_salary_tablelist.Get(this.m_Month, this.m_Year);
            this.l_Salary.Get(hrm_salary_tablelist.SalaryTableListID, this.txtEmployeeCode.Text);
            HRM_TIMEKEEPER_TABLELIST hrm_timekeeper_tablelist = new HRM_TIMEKEEPER_TABLELIST();
            hrm_timekeeper_tablelist.Get(this.m_Month, this.m_Year);
            HRM_TIMEKEEPER_TOTAL hrm_timekeeper_total = new HRM_TIMEKEEPER_TOTAL();
            hrm_timekeeper_total.Get(hrm_timekeeper_tablelist.TimeKeeperTableListID, this.txtEmployeeCode.Text);
            this.txtBasicSalary.Text = this.l_Salary.BasicSalary.ToString("#,0");
            this.txtAllowance.Text = this.l_Salary.Allowance.ToString("#,0");
            this.txtWorkSalary.Text = this.l_Salary.WorkSalary.ToString("#,0");
            this.txtRealDay.Text = hrm_timekeeper_total.RealDay.ToString("#,0");
            this.txtRegulationDay.Text = hrm_timekeeper_total.RegulationDay.ToString("#,0");
            this.txtFurloughDay.Text = hrm_timekeeper_total.FurloughDay.ToString("#,0");
            this.txtAbsent.Text = hrm_timekeeper_total.Absent.ToString("#,0");
            this.txtOvertime150.Text = (hrm_timekeeper_total.Overtime150 * double.Parse(this.l_Salary.SalaryHour.ToString())).ToString("#,0");
            this.txtOvertime200.Text = (hrm_timekeeper_total.Overtime200 * double.Parse(this.l_Salary.SalaryHour.ToString())).ToString("#,0");
            this.txtOvertime300.Text = (hrm_timekeeper_total.Overtime300 * double.Parse(this.l_Salary.SalaryHour.ToString())).ToString("#,0");
            this.txtSalaryPlus.Text = (this.l_Salary.SalaryPlusBefore + this.l_Salary.SalaryPlus).ToString("#,0");
            this.txtOtherIncomes.Text = (((double.Parse(this.txtOvertime150.Text) + double.Parse(this.txtOvertime200.Text)) + double.Parse(this.txtOvertime300.Text)) + double.Parse(this.txtSalaryPlus.Text)).ToString("#,0");
            this.txtSocialInsurance.Text = this.l_Salary.SocialInsurance.ToString("#,0");
            this.txtHealthInsurance.Text = this.l_Salary.HealthInsurance.ToString("#,0");
            this.txtUnemploymentInsurance.Text = this.l_Salary.UnemploymentInsurance.ToString("#,0");
            this.txtUnion.Text = this.l_Salary.Union.ToString("#,0");
            this.txtTotalSalaryMinus.Text = (((double.Parse(this.txtSocialInsurance.Text) + double.Parse(this.txtHealthInsurance.Text)) + double.Parse(this.txtUnemploymentInsurance.Text)) + double.Parse(this.txtUnion.Text)).ToString("#,0");
            this.txtIncomeTaxMoney.Text = this.l_Salary.IncomeTaxMoney.ToString("#,0");
            this.txtAssignment.Text = this.l_Salary.Assignment.ToString("#,0");
            this.txtAdvance.Text = this.l_Salary.Advance.ToString("#,0");
            this.txtTotalSalary.Text = this.l_Salary.TotalSalary.ToString("#,0");
            this.txtSalary.Text = this.l_Salary.Salary.ToString("#,0") + "  VNĐ";
            HRM_SALARY_ALLOWANCE hrm_salary_allowance = new HRM_SALARY_ALLOWANCE();
            int num = 1;
            double num2 = 0.0;
            foreach (DataRow row in hrm_salary_allowance.GetList(hrm_salary_tablelist.SalaryTableListID, this.txtEmployeeCode.Text).Rows)
            {
                if (num == 1)
                {
                    this.lbAllowanceName1.Text = row["AllowanceName"].ToString().ToUpper() + " :";
                    this.txtAllowance1.Text = double.Parse(row["Money"].ToString()).ToString("#,0");
                }
                else if (num == 2)
                {
                    this.lbAllowanceName2.Text = row["AllowanceName"].ToString().ToUpper() + " :";
                    this.txtAllowance2.Text = double.Parse(row["Money"].ToString()).ToString("#,0");
                }
                else if (num == 3)
                {
                    this.lbAllowanceName3.Text = row["AllowanceName"].ToString().ToUpper() + " :";
                    this.txtAllowance3.Text = double.Parse(row["Money"].ToString()).ToString("#,0");
                }
                else
                {
                    num2 += double.Parse(row["Money"].ToString());
                }
                num++;
            }
            if (num < 2)
            {
                this.lbAllowanceName1.Text = "CƠM TRƯA :";
                this.txtAllowance1.Text = "0";
                this.lbAllowanceName2.Text = "XĂNG :";
                this.txtAllowance2.Text = "0";
                this.lbAllowanceName3.Text = "ĐIỆN THOẠI :";
                this.txtAllowance3.Text = "0";
            }
            if (num2 > 0.0)
            {
                this.lbAllowanceName4.Text = "PHỤ CẤP KH\x00c1C:";
                this.txtAllowance4.Text = num2.ToString("#,0");
            }
        }
    }
}

